Macros

Macros enable you to establish mathematical relationships between budget codes. There are two different types of macros.

  • Horizontal macros enable the correspondence between Operational Budget codes and Treasury Budget codes. The Treasury Budget amounts can then be calculated on the basis of the Operational Budget amounts. For example, in the Treasury Budget, you can break down the collection of a sale saved as a unique transaction in the Operational Budget.
  • Vertical macros define logical relationships between budget codes of a same budget.
    For example, you can calculate the amount of fringe benefits on the basis of salaries.

You can create several macros for one budget code. Later on, when setting up the designer, you will be able to select one macro to apply to one budget code.

The range of possibilities in terms of calculation is wide. Here are some examples:

  • Distribution of an amount on different budget codes
  • Breakdown of the collection of a sale over a period of time

You can create a default macro for all the budget codes with identical amount and date, both in the Operational and Treasury Budgets.

To defer or break down the amounts of a budget code over time, distribute them on several budget codes, or associate them with a logical condition, you need to create a customized macro. Macros can include several lines of script.

Important

If you are a new user, see topics Macros Wizard and Examples of Macros.

If two users are working on the same database, the user who created a macro first is the only one authorized to create more macros during the session.